
<html>
    <head>
        <title>Đề án</title>
        <meta http-equiv="content-type" content="text/html; charset = utf-8" />
        <link rel="stylesheet" type="text/css" href="../style.css" />
        <script language="javascript">
            
        </script>

    </head>
    <body>
    <div id="wrap">
        
        <?php
            session_start();
	       include "../include/header.php";
           include "../include/mod_menu_admin.php";
           //include "../util/dataUtil.php";
            
                $maphong = $_SESSION['maphong'];
                $tenphong = $_POST['tenphong'];
                $matruongphong = $_POST['matruongphong'];
                $ngaynhanchuc = $_POST['ngaynhanchuc'];
                $ghichu = $_POST['ghichupb'];
            
                $sql_capnhat = "UPDATE phongban SET  `TenPhong` =  '$tenphong',`MaTRGP` =  '$matruongphong',`NgayNhanChuc` =  '$ngaynhanchuc',`GhiChu` =  '$ghichu' WHERE `MaPhong` = $maphong ";
                //echo $sql_capnhat;
                //echo "- $madean";
                executeQuery($sql_capnhat);
                echo "
                        <script>
                            alert ('Cập nhật thông tin Phòng ban thành công!');
                            window.location = '../admin/phongban.php';
                        </script>
                        
                     ";             
            
            

        
        ?> 
            
     </div>
    </body>
</html>